]> dgit.raspbian.org Git - grub2.git/commit
fix-for-gcc-2.16-2
authorGRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>
Wed, 23 Sep 2026 20:39:45 +0000 (21:39 +0100)
committerSteve McIntyre <93sam@debian.org>
Wed, 23 Sep 2026 20:39:45 +0000 (21:39 +0100)
commitb16ad2adc986244c9668b1462999afef28bcd685
tree23324f2a52c035854d8329cb1e41fd9b10c82df6
parent80ee5e0a284cd7ddd263ddf3ee5bcedcbf8e9733
fix-for-gcc-2.16-2

commit ce6f2b57f5450a8239022dcbfb2d750f273b83cb
Author: Nicholas Vinson <nvinson234@gmail.com>
Date:   Tue Feb 24 19:48:42 2026 -0500

    util/resolve: Save str[r]chr() ret val to const data ptr

    With glibc-2.43 implementing the C23 standard, strrchr() and strchr()
    now return "const char *" when its first argument is "const char *".

    The fix is update all pointers receiving strrchr() and strchr()'s return
    values so that they are now "const char *" instead of "char *".

Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name fix-for-gcc-2.16-2.patch
util/resolve.c